<!DOCTYPE html>
<html>
    <head>
        <title>Cadastrar Funcionario</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="css/bootstrap.css" rel="stylesheet">
        <link href="css/bootstrap-responsive.css" rel="stylesheet">
  	<link href="css/stilo.css" rel="stylesheet">
        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
        <script src="js/html5shiv.js"></script>
        <![endif]-->
    </head>
    <body>
       <div class="container">
           <?php include "topo.html"; ?>
           <?php include "menu.php"; ?>
           
           <!------------------------------------------Inicio do Conteudo------------------------------------->
		<section>
			<div id="conteudo">
				<div class="row-fluid">
					<div class="span12">
						<div class="titulo">
                                                    <p><b>Cadastrar Funcionario</b></p>
						</div>
						<div class="bordas">
                                                    <div>
                                                        <form class="form-horizontal funcionario" method="POST" action="index.php?pg=InserirFuncionario">
                                                        <fieldset>

                                                        
                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="nome">Nome</label>
                                                          <div class="controls">
                                                            <input id="nome" name="nome" placeholder="" class="input-large" required="" type="text">
                                                        
                                                          </div>
                                                        </div>

                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="cpf">CPF</label>
                                                          <div class="controls">
                                                            <input id="cpf" name="cpf" placeholder="" class="input-large" required="" type="text">
                                                            
                                                          </div>
                                                        </div>

                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="rg">RG</label>
                                                          <div class="controls">
                                                            <input id="rg" name="rg" placeholder="" class="input-large" required="" type="text">
                                                            
                                                          </div>
                                                        </div>

                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="tituloeleitor">Titulo de Eleitor</label>
                                                          <div class="controls">
                                                            <input id="tituloeleitor" name="tituloeleitor" placeholder="" class="input-large numeros" type="text">
                                                           
                                                          </div>
                                                        </div>

                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="endereco">Endereço</label>
                                                          <div class="controls">
                                                            <input id="endereco" name="endereco" placeholder="" class="input-large" required="" type="text">
                                                            
                                                          </div>
                                                        </div>

                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="telefone">Telefone</label>
                                                          <div class="controls">
                                                            <input id="telefone" name="telefone" placeholder="" class="input-large" required="" type="text">
                                                            
                                                          </div>
                                                        </div>

                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="celular">Celular</label>
                                                          <div class="controls">
                                                            <input id="celular" name="celular" placeholder="" class="input-large" type="text">
                                                            
                                                          </div>
                                                        </div>

                                                        <!-- Select Basic -->
                                                        <div class="control-group">
                                                          <label class="control-label" for="cargo">Selecione o Cargo</label>
                                                          <div class="controls">
                                                              <select id="cargo" name="cargo" required="" class="input-large">
                                                                <option value="" >Selecione</option>
                                                                <?php
                                                                foreach ($listaCargos as $lista){
                                                                    echo '<option value='.$lista->id.'>'.$lista->car_nome.'</option>';
                                                                    
                                                                }
                                                                ?>                                                               
                                                            </select>
                                                          </div>
                                                        </div>

                                                        <!-- Textarea -->
                                                        <div class="control-group">
                                                          <label class="control-label" for="formacao">Formação</label>
                                                          <div class="controls">                     
                                                              <textarea id="formacao" required="" name="formacao"></textarea>
                                                          </div>
                                                        </div>

                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="email">E-mail</label>
                                                          <div class="controls">
                                                            <input id="email" name="email" placeholder="" class="input-large" required="" type="text">
                                                            
                                                          </div>
                                                        </div>
                                                        
                                                        <!-- Text input-->
                                                        <div class="control-group">
                                                          
                                                          <div class="controls">
                                                              <input id="status" name="status" value="1" type="hidden">
                                                            
                                                          </div>
                                                        </div>

                                                        <!-- Password input-->
                                                        <div class="control-group">
                                                          <label class="control-label" for="senha">Senha</label>
                                                          <div class="controls">
                                                            <input id="senha" name="senha" placeholder="" class="input-large" required="" type="password">
                                                            
                                                          </div>
                                                        </div>

                                                        <!-- Select Basic -->
                                                        <div class="control-group">
                                                          <label class="control-label" for="vinculo">Selecione o Vinculo</label>
                                                          <div class="controls">
                                                              <select id="vinculo" name="vinculo" required="" class="input-large">
                                                                <option value="">Selecione</option>
                                                                <option value="1">Vinculo 1</option>
                                                                <option value="2">Vinculo 2</option>
                                                            </select>
                                                          </div>
                                                        </div>

                                                        <!-- Button -->
                                                        <div class="control-group">
                                                          <label class="control-label" for="enviar"></label>
                                                          <div class="controls">
                                                            <button id="enviar" name="enviar" class="btn btn-primary">Enviar</button>
                                                          </div>
                                                        </div>

                                                        </fieldset>
                                                        </form>

                                                    </div>
						</div>
					</div>	
				</div>
			</div> <!-- Fim da linha conteudo -->
		</section><!-- ----------------------------------------fim do Conteudo----------------------------------- -->

           
           <?php include "rodape.html"; ?>
           
           
       </div><!-- fim da div container -->    
        
        
    <!-- Arquivos Javascripts ================================================== -->
    <script src="js/jquery-1.10.2.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script  src="js/jquery.validate.js"></script>
    <script  src="js/validaformfuncionario.js"></script>
    <script  src="js/jquery.maskedinput.js"></script>
    <script  src="js/mascaras.js"></script>
    <script  src="js/sonumeros.js"></script>
    </body>
</html>
